package cn.sherer.beans.weixin;

/**
 * 微信 JS-SDK 票据
 */
public class WxTicket extends WxResult {
    private int expires_in;
    private String ticket;

    public WxTicket() {
    }

    public WxTicket(int errcode, String errmsg) {
        super(errcode, errmsg);
    }

    public int getExpires_in() {
        return expires_in;
    }

    public void setExpires_in(int expires_in) {
        this.expires_in = expires_in;
    }

    public String getTicket() {
        return ticket;
    }

    public void setTicket(String ticket) {
        this.ticket = ticket;
    }

    @Override
    public String toString() {
        return "WxTicket{" + "errcode=" + this.getErrcode() + ", errmsg=" + this.getErrmsg() + ", expires_in=" + expires_in + ", ticket=" + ticket + "}";
    }
}
